//
//  HNActor.h
//  HeroNuts
//
//  Created by Magic on 4/2/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HNGeometry.h"
#import "cocos2d.h"
//attributes for all actor of the same kind
//health, attack, defence, movement, speed, hex size

@interface HNActor : NSObject {
	NSString* name_;
	int hexSize_;
	BOOL faceRight_;
	BOOL leftSide_;
    BOOL canFly_;
    
    int shots_;
	int count_;
	int speed_;
	CGPoint position_;
	CCSprite *sprite_;
    CCSprite *troopCountBackground_;
    CCLabelTTF *troopCountLabel_;
}

@property (nonatomic, copy) NSString* name;
@property (nonatomic, retain) CCSprite* sprite;
@property (nonatomic, assign) int speed;
@property (nonatomic, assign) CGPoint position;
@property (nonatomic, assign) BOOL faceRight;
@property (nonatomic, assign) BOOL leftSide;
@property (nonatomic, assign) int hexSize;
@property (nonatomic, assign) BOOL canFly;
@property (nonatomic, assign) int shots;
@property (nonatomic, assign) int count;

-(NSComparisonResult) actorSpeedCompare:(HNActor *)aActor;



@end
